<?php
class Article extends AppModel {

	var $name = 'Article';

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $belongsTo = array(
		'ArticleCat' => array(
			'className' => 'ArticleCat',
			'foreignKey' => 'article_cat_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);

	var $hasAndBelongsToMany = array(
		'Good' => array(
			'className' => 'Good',
			'joinTable' => 'goods_articles',
			'foreignKey' => 'article_id',
			'associationForeignKey' => 'good_id',
			'unique' => true,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'finderQuery' => '',
			'deleteQuery' => '',
			'insertQuery' => ''
		)
	);

}
?>